package com.wy2cloud.sample.zuulandauthserver.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.wy2cloud.sample.zuulandauthserver.entity.AuthorizeUserRole;

/**
 * 用户角色仓储层
 * @author wuyy<16349023@qq.com>,nnsword
 * @date 2018年4月4日下午1:14:47
 *
 */
public interface AuthorizeUserRoleRepository extends JpaRepository<AuthorizeUserRole, String> {

    List<AuthorizeUserRole> findAllByUserId(String userId);
}
